**Replication Data for: "Do Voters Punish Ambitious Women? Tracking a Gendered Backlash toward the 2020 Democratic Presidential Contenders" accepted at Political Behavior, Nichole Bauer, Moriah Harman, and Erica Russell


**wave 1 weight: weight_w1
**wave 2 weight: weight_w2
**wave 3 weight: weight_w3

**Wave 1 Models, Figure 1, TableA3
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1 female_respondent_w1 democrat_respondent_w1 ///
republican_respondent_w1  income_w1 polint_w1 age_w1  region_w1 ///
feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num

**Wave 1 Models, Figure 2, TableA3
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1 democrat_respondent_w1  republican_respondent_w1 ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

**Wave 1 to Wave 2 t-tests
ttest warmtowardcand_w1=warmtowardcand_w2 if wave1==1&wave2==1&femalecand_w1==1&femalecand_w2==1
ttest warmtowardcand_w1=warmtowardcand_w2 if wave1==1&wave2==1&femalecand_w1==0&femalecand_w2==0
ttesti 218    .2110092     1.826953  277  .0397112  1.629176     , welch

ttest candlikability_w1=candlikability_w2 if wave1==1&wave2==1&femalecand_w1==1&femalecand_w2==1
ttest candlikability_w1=candlikability_w2 if wave1==1&wave2==1&femalecand_w1==0&femalecand_w2==0
ttesti   218   .1055046    1.736798    277    -.1119134   1.639117  , welch

ttest likelyvotecandR_w1=likelyvotecandR_w2 if wave1==1&wave2==1&femalecand_w1==1&femalecand_w2==1
ttest likelyvotecandR_w1=likelyvotecandR_w2 if wave1==1&wave2==1&femalecand_w1==0&femalecand_w2==0
ttesti 217 .0322581  1.001791 276 .1811594  .9360304 , welch


**Wave 2 Models
**Table A4
svyset worker_id2 [pw=weight_w2],  singleunit(centered)
svy: regress candlikability_w2 femalecand_w2 democrat_respondent_w2 republican_respondent_w2  ///
income_w2 polint_w2 age_w2 female_respondent_w2 region_w2 feminist_w2 white_w2 educ_w2 ideo_w2 ///
heardcandrunning_w2 followedprimary_w2 donatecand_w2 wave1 

svyset worker_id2 [pw=weight_w2],  singleunit(centered)
svy: reg warmtowardcand_w2 femalecand_w2 democrat_respondent_w2 republican_respondent_w2  ///
income_w2 polint_w2 age_w2 female_respondent_w2 region_w2 feminist_w2 white_w2 educ_w2 ideo_w2 ///
heardcandrunning_w2 followedprimary_w2 donatecand_w2 wave1  

**Table A4, figure 3
svyset worker_id2 [pw=weight_w2],  singleunit(centered)
svy: ologit likelyvotecandR_w2 femalecand_w2 democrat_respondent_w2 republican_respondent_w2  ///
income_w2 polint_w2 age_w2 female_respondent_w2 region_w2 feminist_w2 white_w2 educ_w2 ideo_w2 ///
heardcandrunning_w2 followedprimary_w2 donatecand_w2 wave1  

**Wave 2 to Wave 3 t-tests

ttest warmtowardcand_w2=warmtowardcand_w3 if wave2==1&wave3==1&femalecand_w2==1&femalecand_w3==1
ttest warmtowardcand_w2=warmtowardcand_w3 if wave2==1&wave3==1&femalecand_w2==0&femalecand_w3==0
ttesti 122  .0081967    1.842994   99  .4141414   1.984687     ,welch

ttest candlikability_w2=candlikability_w3 if wave2==1&wave3==1&femalecand_w2==1&femalecand_w3==1
ttest candlikability_w2=candlikability_w3 if wave2==1&wave3==1&femalecand_w2==0&femalecand_w3==0
ttesti   122  .0081967  1.751013 99 .3333333   1.900591  ,welch

ttest likelyvotecandR_w2=likelyvotecandR_w3 if wave2==1&wave3==1&femalecand_w2==1&femalecand_w3==1
ttest likelyvotecandR_w2=likelyvotecandR_w3 if wave2==1&wave3==1&femalecand_w2==0&femalecand_w3==0
ttesti 122  .1311475  1.067559  99 -.1818182 1.395062, unequal


**Wave 3 Models
**Table A5
svyset worker_id3 [pw=weight_w3],  singleunit(centered)
svy: regress candlikability_w3 femalecand_w3 democrat_respondent_w3 republican_respondent_w3  ///
income_w3 polint_w3 age_w3 female_respondent_w3 region_w3 feminist_w3 white_w3 educ_w3 ideo_w3 ///
 followedprimary_w3 donatecand_w3 wave2 

svyset worker_id3 [pw=weight_w3],  singleunit(centered)
svy:regress warmtowardcand_w3 femalecand_w3 democrat_respondent_w3 republican_respondent_w3  ///
income_w3 polint_w3 age_w3 female_respondent_w3 region_w3 feminist_w3 white_w3 educ_w3 ideo_w3 ///
 followedprimary_w3 donatecand_w3 wave2 

 **Table A5, Figure 4
svyset worker_id3 [pw=weight_w3],  singleunit(centered)
svy: ologit likelyvotecandR_w3 femalecand_w3 democrat_respondent_w3 republican_respondent_w3  ///
income_w3 polint_w3 age_w3 female_respondent_w3 region_w3 feminist_w3 white_w3 educ_w3 ideo_w3 ///
 followedprimary_w3 donatecand_w3 wave2

 **Vote replication with no joe biden
svyset worker_id3 [pw=weight_w3],  singleunit(centered) 
svy: ologit likelyvotecandR_w3 femalecand_w3 democrat_respondent_w3 republican_respondent_w3  ///
income_w3 polint_w3 age_w3 female_respondent_w3 region_w3 feminist_w3 white_w3 educ_w3 ideo_w3 ///
 followedprimary_w3 donatecand_w3 wave2 if biden_w3==0
 
**Models with Interactions, Additional Specifications for Appendix & Memo

**Attrition Models, Table A2

logit wave2_eligible democrat_respondent_w1 feminist_w1 income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 white_w1 educ_w1 ideo_w1, cluster(mturkworkerid_w1)

logit wave3_eligible democrat_respondent_w2 feminist_w2 income_w2 polint_w2 age_w2 female_respondent_w2 region_w2 white_w2 educ_w2 ideo_w2


**wave 1 no M. Obama and Oprah
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num  if obama_w1==0&winfrey_w1==0

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1 female_respondent_w1 democrat_respondent_w1 ///
republican_respondent_w1  income_w1 polint_w1 age_w1  region_w1 ///
feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num  if obama_w1==0&winfrey_w1==0

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1 democrat_respondent_w1  republican_respondent_w1 ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1  candidate1_num if obama_w1==0&winfrey_w1==0

**Heterogeneous Treatment Effects
**Table A6
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1##democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1##democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1##democrat_respondent_w1 republican_respondent_w1 ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

**Table A7
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1##republican_respondent_w1 democrat_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1##republican_respondent_w1 democrat_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1##republican_respondent_w1 democrat_respondent_w1 ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

**Table A8
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1##c.feminist_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1  white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1##c.feminist_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1  white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1##c.feminist_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1  white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

**Table A9
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1##female_respondent_w1 republican_respondent_w1 democrat_respondent_w1  ///
income_w1 polint_w1 age_w1  region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1##female_respondent_w1 republican_respondent_w1 democrat_respondent_w1  ///
income_w1 polint_w1 age_w1  region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: ologit likelyvotecandR_w1 femalecand_w1##running_w1##female_respondent_w1 republican_respondent_w1 democrat_respondent_w1  ///
income_w1 polint_w1 age_w1  region_w1 feminist_w1 white_w1 educ_w1 ideo_w1 heardcandrunning_w1 candidate1_num 

**Table A10
svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress candlikability_w1 femalecand_w1##running_w1##heardcandrunning_w1 feminist_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1  white_w1 educ_w1 ideo_w1  candidate1_num 

svyset worker_id1 [pw=weight_w1],  singleunit(centered)
svy: regress warmtowardcand_w1 femalecand_w1##running_w1##heardcandrunning_w1 feminist_w1 democrat_respondent_w1 republican_respondent_w1  ///
income_w1 polint_w1 age_w1 female_respondent_w1 region_w1  white_w1 educ_w1 ideo_w1  candidate1_num 
 

svyset worker_id2 [pw=weight_w2],  singleunit(centered)
 svy: regress candlikability_w2 femalecand_w2##heardcandrunning_w2 feminist_w2 democrat_respondent_w2 republican_respondent_w2  ///
income_w2 polint_w2 age_w2 female_respondent_w2 region_w2  white_w2 educ_w2 ideo_w2 followedprimary_w2
 
svyset worker_id2 [pw=weight_w2],  singleunit(centered)
svy: regress warmtowardcand_w2 femalecand_w2# #heardcandrunning_w2 feminist_w2 democrat_respondent_w2 republican_respondent_w2  ///
income_w2 polint_w2 age_w2 female_respondent_w2 region_w2  white_w2 educ_w2 ideo_w2   followedprimary_w2
 
**TableA1
sum candlikability_w1 if casey_w1==1
sum candlikability_w1 if garcetti_w1==1
sum candlikability_w1 if holder_w1==1
sum candlikability_w1 if bloomberg_w1==1
sum candlikability_w1 if obama_w1==1
sum candlikability_w1 if haley_w1==1
sum candlikability_w1 if winfrey_w1==1
sum candlikability_w1 if brown_w1==1
sum candlikability_w1 if abrams_w1==1
sum candlikability_w1 if duckworth_w1==1
sum candlikability_w1 if mcauliffe_w1==1
sum candlikability_w1 if hassan_w1==1
sum candlikability_w1 if orourke_w1==1
sum candlikability_w1 if swalwell_w1==1
sum candlikability_w1 if inslee_w1==1
sum candlikability_w1 if hickenlooper_w1==1
sum candlikability_w1 if gillibrand_w1==1
sum candlikability_w1 if ryan_w1==1
sum candlikability_w1 if bennet_w1==1
sum candlikability_w1 if castro_w1==1
sum candlikability_w1 if delaney_w1==1
sum candlikability_w1 if harris_w1==1
sum candlikability_w1 if williamson_w1==1
sum candlikability_w1 if booker_w1==1
sum candlikability_w1 if klobuchar_w1==1
sum candlikability_w1 if sanders_w1==1
sum candlikability_w1 if warren_w1==1
sum candlikability_w1 if biden_w1==1
sum candlikability_w1 if buttigieg_w1==1
sum candlikability_w1 if gabbard_w1==1

sum candlikability_w2 if yang_w2==1
sum candlikability_w2 if bullock_w2==1
sum candlikability_w2 if bennet_w2==1
sum candlikability_w2 if castro_w2==1
sum candlikability_w2 if delaney_w2==1
sum candlikability_w2 if harris_w2==1
sum candlikability_w2 if williamson_w2==1
sum candlikability_w2 if booker_w2==1
sum candlikability_w2 if klobuchar_w2==1
sum candlikability_w2 if sanders_w2==1
sum candlikability_w2 if warren_w2==1
sum candlikability_w2 if biden_w2==1
sum candlikability_w2 if buttigieg_w2==1
sum candlikability_w2 if gabbard_w2==1

sum candlikability_w3 if klobuchar_w3==1
sum candlikability_w3 if  sanders_w3==1
sum candlikability_w3 if warren_w3==1
sum candlikability_w3 if biden_w3==1
sum candlikability_w3 if  buttigieg_w3==1
sum candlikability_w3 if  gabbard_w3==1


sum warmtowardcand_w1 if casey_w1==1
sum warmtowardcand_w1 if garcetti_w1==1
sum warmtowardcand_w1 if holder_w1==1
sum warmtowardcand_w1 if bloomberg_w1==1
sum warmtowardcand_w1 if obama_w1==1
sum warmtowardcand_w1 if haley_w1==1
sum warmtowardcand_w1 if winfrey_w1==1
sum warmtowardcand_w1 if brown_w1==1
sum warmtowardcand_w1 if abrams_w1==1
sum warmtowardcand_w1 if duckworth_w1==1
sum warmtowardcand_w1 if mcauliffe_w1==1
sum warmtowardcand_w1 if hassan_w1==1
sum warmtowardcand_w1 if orourke_w1==1
sum warmtowardcand_w1 if swalwell_w1==1
sum warmtowardcand_w1 if inslee_w1==1
sum warmtowardcand_w1 if hickenlooper_w1==1
sum warmtowardcand_w1 if gillibrand_w1==1
sum warmtowardcand_w1 if ryan_w1==1
sum warmtowardcand_w1 if bennet_w1==1
sum warmtowardcand_w1 if castro_w1==1
sum warmtowardcand_w1 if delaney_w1==1
sum warmtowardcand_w1 if harris_w1==1
sum warmtowardcand_w1 if williamson_w1==1
sum warmtowardcand_w1 if booker_w1==1
sum warmtowardcand_w1 if klobuchar_w1==1
sum warmtowardcand_w1 if sanders_w1==1
sum warmtowardcand_w1 if warren_w1==1
sum warmtowardcand_w1 if biden_w1==1
sum warmtowardcand_w1 if buttigieg_w1==1
sum warmtowardcand_w1 if gabbard_w1==1

sum warmtowardcand_w2 if yang_w2==1
sum warmtowardcand_w2 if bullock_w2==1
sum warmtowardcand_w2 if bennet_w2==1
sum warmtowardcand_w2 if castro_w2==1
sum warmtowardcand_w2 if delaney_w2==1
sum warmtowardcand_w2 if harris_w2==1
sum warmtowardcand_w2 if williamson_w2==1
sum warmtowardcand_w2 if booker_w2==1
sum warmtowardcand_w2 if klobuchar_w2==1
sum warmtowardcand_w2 if sanders_w2==1
sum warmtowardcand_w2 if warren_w2==1
sum warmtowardcand_w2 if biden_w2==1
sum warmtowardcand_w2 if buttigieg_w2==1
sum warmtowardcand_w2 if gabbard_w2==1

sum warmtowardcand_w3 if klobuchar_w3==1
sum warmtowardcand_w3 if  sanders_w3==1
sum warmtowardcand_w3 if warren_w3==1
sum warmtowardcand_w3 if biden_w3==1
sum warmtowardcand_w3 if  buttigieg_w3==1
sum warmtowardcand_w3 if  gabbard_w3==1



tab likelyvotecand_w1 if casey_w1==1
tab likelyvotecand_w1 if garcetti_w1==1
tab likelyvotecand_w1 if holder_w1==1
tab likelyvotecand_w1 if bloomberg_w1==1
tab likelyvotecand_w1 if obama_w1==1
tab likelyvotecand_w1 if haley_w1==1
tab likelyvotecand_w1 if winfrey_w1==1
tab likelyvotecand_w1 if brown_w1==1
tab likelyvotecand_w1 if abrams_w1==1
tab likelyvotecand_w1 if duckworth_w1==1
tab likelyvotecand_w1 if mcauliffe_w1==1
tab likelyvotecand_w1 if hassan_w1==1
tab likelyvotecand_w1 if orourke_w1==1
tab likelyvotecand_w1 if swalwell_w1==1
tab likelyvotecand_w1 if inslee_w1==1
tab likelyvotecand_w1 if hickenlooper_w1==1
tab likelyvotecand_w1 if gillibrand_w1==1
tab likelyvotecand_w1 if ryan_w1==1
tab likelyvotecand_w1 if bennet_w1==1
tab likelyvotecand_w1 if castro_w1==1
tab likelyvotecand_w1 if delaney_w1==1
tab likelyvotecand_w1 if harris_w1==1
tab likelyvotecand_w1 if williamson_w1==1
tab likelyvotecand_w1 if booker_w1==1
tab likelyvotecand_w1 if klobuchar_w1==1
tab likelyvotecand_w1 if sanders_w1==1
tab likelyvotecand_w1 if warren_w1==1
tab likelyvotecand_w1 if biden_w1==1
tab likelyvotecand_w1 if buttigieg_w1==1
tab likelyvotecand_w1 if gabbard_w1==1

tab likelyvotecand_w2 if yang_w2==1
tab likelyvotecand_w2 if bullock_w2==1
tab likelyvotecand_w2 if bennet_w2==1
tab likelyvotecand_w2 if castro_w2==1
tab likelyvotecand_w2 if delaney_w2==1
tab likelyvotecand_w2 if harris_w2==1
tab likelyvotecand_w2 if williamson_w2==1
tab likelyvotecand_w2 if booker_w2==1
tab likelyvotecand_w2 if klobuchar_w2==1
tab likelyvotecand_w2 if sanders_w2==1
tab likelyvotecand_w2 if warren_w2==1
tab likelyvotecand_w2 if biden_w2==1
tab likelyvotecand_w2 if buttigieg_w2==1
tab likelyvotecand_w2 if gabbard_w2==1

tab likelyvotecand_w3 if klobuchar_w3==1
tab likelyvotecand_w3 if  sanders_w3==1
tab likelyvotecand_w3 if warren_w3==1
tab likelyvotecand_w3 if biden_w3==1
tab likelyvotecand_w3 if  buttigieg_w3==1
tab likelyvotecand_w3 if  gabbard_w3==1
